from threading import Thread
import time


def func(name, sec):
    print(name, "start")
    time.sleep(sec)
    print(name, "finished")


for i in range(1, 6):
    t = Thread(target=func, args=("T-%d" % i, 3))
    t.start()
